package com.zhuzx.service;

import com.zhuzx.common.annotations.RpcService;
import org.springframework.stereotype.Service;

/**
 * @author zhuZX
 * @date 2021/1/31 10:39
 * @description
 */
@RpcService
@Service
public class UserServiceImpl implements UserService {

    @Override
    public String sayHi(String msg) {
        System.out.println(String.format("hello %s", msg));
        return "success";
    }
}
